package com.aqmh.ratelimiter.valve;

import com.aqmh.ratelimiter.annotation.DoRateLimiter;
import org.aspectj.lang.ProceedingJoinPoint;

import java.lang.reflect.Method;

/**
 * 公众号：安前码后
 * 博客 ：https://blog.csdn.net/weixin_42329623
 * 财经公众号：韭盾
 * @author LiLiDong
 * @date 2023/5/4 22:49
 */
public interface IValveService {

    Object access(ProceedingJoinPoint jp, Method method, DoRateLimiter doRateLimiter, Object[] args) throws Throwable;
}
